package cn.net.dckj.modules.biz.entity;

import cn.net.dckj.common.persistence.DataEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 教师课表实体类
 *
 * @author hqj <br/>
 *         date:2019-4-15
 * @version 1.0.0
 */
@Entity
@Table(name = "biz_teacher_timetable")
public class TeacherTimetableBean extends DataEntity<TeacherTimetableBean> {
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy", timezone = "GMT+8")
    private Date schoolYear;      // 学年
    private String term;          // 学期，字典[学期]
    private String weekStart;     // 学周开始，字典[学周]
    private String weekEnd;       // 学周结束，字典[学周]
    private String section;       // 课节(第几节课)，字典[课节]
    private String courseName;    // 课程名称
    private String teacherId;     // 上课教师id
    private String teacherIdCard; // 上课教师身份证号
    private String teacherName;   // 上课教师姓名
    private String classId;       // 上课班级id
    private String className;     // 上课班级名称
    private String address;       // 上课教室地点

    public Date getSchoolYear() {
        return schoolYear;
    }

    public void setSchoolYear(Date schoolYear) {
        this.schoolYear = schoolYear;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getWeekStart() {
        return weekStart;
    }

    public void setWeekStart(String weekStart) {
        this.weekStart = weekStart;
    }

    public String getWeekEnd() {
        return weekEnd;
    }

    public void setWeekEnd(String weekEnd) {
        this.weekEnd = weekEnd;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherIdCard() {
        return teacherIdCard;
    }

    public void setTeacherIdCard(String teacherIdCard) {
        this.teacherIdCard = teacherIdCard;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
